<pathname> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack. Aliases are also supported. If empty or omited, the default created file is named "PICTFile X" at the current stack's level, X being a positive integer which increments automatically.
<file|res[ource]> tells if destination file is a PICT file ("file"), or a file containing a PICT resource ("res"). Default is "file".
<res name> is needed only for resource, and is the name the PICT resource to create.
<res ID> is needed only for resource, and is the ID the PICT resource to create.
<keep prop.> is boolean, and tells the picture to keep its proportions when resized (TRUE) or to be scaled to fit in the destination rect (FALSE). Default value is FALSE.
<New size> is a point "X,Y" giving the new size of the picture (X=width, Y=height). This value is always clipped to the maximum size according to original image resolution (ex : a 100*100 at 300dpi image can be max. resized to 400*400 at 72dpi).
<ClipRect> allows to keep only a rectangular area of the picture. It will be
"Xt,Yt,Xb,Yb" shaped, and inactive by default.
<d=1|2|4|8|16|32> allows to modify the pixel depth of the saved picture.This parameter is used only if QuickDraw32 is active.
<c=L[ow]|N[ormal]|H[igh]> allows to compress the captured picture if QuickTime is installed and QuickDraw32 is running. "Low" gives the best quality.
Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
USING
Any existing resource will be replaced by the new one.
ERRORS
If an error occurs, the Result can contain :
"Error : Out of memory"
"Error : No PICT in Clipboard"
"Error : Incorrect depth"
"Error : Incorrect compression quality"
"Error : Bad size parameter"
"Error : Missing resource ID or name"
"Error : Clipping rect doesn't intersect pict rect"
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: